﻿namespace nyxwin.Data.Base
{
	public class ErrorOccurredEventArgs : BaseEventArgs
	{
		public ErrorOccurredEventArgs(System.Exception exceptionObject)
		{
            base.Error = true;
			base.ExceptionObject = exceptionObject;
		}

        public ErrorOccurredEventArgs(string errorMessage)
        {
            base.Error = true;
            base.ErrorMessage = errorMessage;
        }
	}
}